﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AMRService.Models.ResponseModels.ModelHelper.Common;

namespace AMRService.IDAL
{
    public interface IAmrService
    {
        /// <summary>
        /// 下发任务    POST
        /// </summary>
        /// <returns></returns>
        Task AmrTaskPut();
        /// <summary>
        /// 查询在线状态   GET
        /// </summary>
        /// <returns></returns>
        Task<Root<List<Data>>> AmrOnLine(string BaseAddress, string OnLineUrl, Dictionary<string, string> HeaderList = null);
        /// <summary>
        /// 查询任务链    GET
        /// </summary>
        /// <returns></returns>
        Task AmrQueryTaskList();
        /// <summary>
        /// 取消任务       POST
        /// </summary>
        /// <returns></returns>
        Task<T1> AmrCancelTask<T1>(long AmrId, Dictionary<string, string> HeaderList = null);
        /// <summary>
        /// 暂停AMR        POST
        /// </summary>
        /// <param name="AmrId"></param>
        /// <returns></returns>
        Task AmrPause(long AmrId);
        /// <summary>
        /// 恢复AMR        POST
        /// </summary>
        /// <param name="AmrId"></param>
        /// <returns></returns>
        Task AmrResume(long AmrId);




    }
}
